package cmbchina.util;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created by sevenlm on 2017/12/22.
 */
public class SystemCacheUtil {

    public static Map<String,String> hostNameMap = new LinkedHashMap<String,String>();
    public static Map<String,String> whiteListPasswordMap = new LinkedHashMap<String,String>();
    public static Map<String,String> whiteListGranteeMap = new LinkedHashMap<String,String>();

    private void SystemCacheUtil() {
        whiteListGranteeMap.put("somdbdev","高权限");
        whiteListGranteeMap.put("somdbmod","中权限");
        whiteListGranteeMap.put("somdbqry","低权限");
        whiteListGranteeMap.put("appadm_super","超级权限");
        whiteListGranteeMap.put("appadm_high","高权限");
        whiteListGranteeMap.put("appadm_middle","中权限");
        whiteListGranteeMap.put("appadm_low","低权限");
    }
    public static SystemCacheUtil systemCacheUtil=null;
    public static SystemCacheUtil getInst(){

        if(systemCacheUtil ==null){
            systemCacheUtil = new SystemCacheUtil();
        }
        return systemCacheUtil;
    }

    public Map<String,String> getCusTaskMap(){
        Map<String,String> cusTaskMap= new LinkedHashMap<String,String>();
        cusTaskMap.put("org.flowable.app.rest.listener.CusScriptTaskAutoExeListener","cusScriptTask");
        cusTaskMap.put("org.flowable.app.rest.listener.CusSendSmsTaskAutoExeListener","cusSendSmsTask");
        cusTaskMap.put("org.flowable.app.rest.listener.CusCheckItilTaskAutoExeListener","cusCheckItilTask");
        cusTaskMap.put("org.flowable.app.rest.listener.CusSpecialScriptTaskAutoExeListener","CusSpecialScriptTask");
        return cusTaskMap;
    }
}
